module.exports = {
  funcList: [{
    name: '获取时间',
    enCode: 'get',
    formula: [
      {
        name: 'GetDateTime',
        enCode: 'GetDateTime',
        isNullParam: true,
        tip: '获取当前时间',
        example: 'GetDateTime()',
        usage: '获取当前时间'
      },
      {
        name: 'GetDate',
        enCode: 'GetDate',
        isNullParam: true,
        tip: '获取当前日期',
        example: 'GetDate()',
        usage: '获取当前日期'
      },
      {
        name: 'MonthStart',
        enCode: 'MonthStart',
        isNullParam: true,
        tip: '获取当前月份的开始日期',
        example: 'MonthStart()',
        usage: '获取当前月份的开始日期'
      },
      {
        name: 'MonthEnd',
        enCode: 'MonthEnd',
        isNullParam: true,
        tip: '获取当前月份的结束日期',
        example: 'MonthEnd()',
        usage: '获取当前月份的结束日期'
      }, {
        name: 'YearStart',
        enCode: 'YearStart',
        isNullParam: true,
        tip: '获取当前年份的开始日期',
        example: 'YearStart()',
        usage: '获取当前年份的开始日期'
      },
      {
        name: 'YearEnd',
        enCode: 'YearEnd',
        isNullParam: true,
        tip: '获取当前年份的结束日期',
        example: 'YearEnd()',
        usage: '获取当前年份的结束日期'
      },
      {
        name: 'GetYear',
        enCode: 'GetYear',
        isNullParam: true,
        tip: '获取年份',
        example: 'GetYear()',
        usage: '获取年份'
      }, {
        name: 'GetMonth',
        enCode: 'GetMonth',
        isNullParam: true,
        tip: '获取月份',
        example: 'GetMonth()',
        usage: '获取月份'
      }, {
        name: 'GetDay',
        enCode: 'GetDay',
        isNullParam: true,
        tip: '获取当前时间的天数部分',
        example: 'GetDay()',
        usage: '获取当前时间的天数部分'
      }, {
        name: 'GetHour',
        enCode: 'GetHour',
        isNullParam: true,
        tip: '获取小时',
        example: 'GetHour()',
        usage: '获取小时'
      }, {
        name: 'GetMinute',
        enCode: 'GetMinute',
        isNullParam: true,
        tip: '获取分钟',
        example: 'GetMinute()',
        usage: '获取分钟'
      }
    ]
  }, {
    name: '操作时间',
    enCode: 'set',
    formula: [
      {
        name: 'FormatTime',
        enCode: 'FormatTime',
        isNullParam: false,
        tip: '格式化时间',
        example: 'FormatTime(时间,\'yyyy-MM-dd HH:mm:ss\')',
        usage: '格式化时间：yyyy=年份 MM=月份 dd=日期\r\nHH=小时 mm=分 ss=秒'
      },
      {
        name: 'GetTime',
        enCode: 'GetTime',
        isNullParam: false,
        tip: '获取指定类型的时间',
        example: 'GetTime(时间,指定类型)',
        usage: '获指定类型范围: 0=月初 1=月末 2=年初 3=年末'
      },
      {
        name: 'Add',
        enCode: 'Add',
        isNullParam: false,
        tip: '在指定时间上进行操作',
        example: 'Add(时间,操作类型,值)',
        usage: '操作类型范围： d=天  m=月 y=年 h=小时  min=分钟  s=秒'
      },
      {
        name: 'GetTimeSpan',
        enCode: 'GetTimeSpan',
        isNullParam: false,
        tip: '将时间转换为时间戳',
        example: 'GetTimeSpan(时间)',
        usage: '将时间转换为时间戳'
      },
      {
        name: 'Format',
        enCode: 'Format',
        tip: '将时间转为字符串',
        isNullParam: false,
        example: 'Format(时间,\'yyyy-MM-dd HH:mm:ss\')',
        usage: '格式化时间：yyyy=年份 MM=月份 dd=日期\r\nHH=小时 mm=分 ss=秒'
      }
    ]
  }]
}
